package com.dynabook.ems.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * BOM删除请求DTO
 */
@Data
@ApiModel(value = "BOM删除请求", description = "删除BOM的请求参数")
public class BomDeleteRequest {
    
    @NotEmpty(message = "BOM ID列表不能为空")
    @ApiModelProperty(value = "BOM ID列表", required = true, example = "[1, 2, 3]")
    private List<Long> bomIds;
}